﻿using System;
using System.Collections.Generic;
using System.Linq;
using SqlSugar;
namespace Chat_Model
{
    /// <summary>
    /// 聊天机器人表
    ///</summary>
    [SugarTable("lar_robots")]
    public class LarRobots
    {
        /// <summary>
        /// 机器人ID 
        ///</summary>
         [SugarColumn(ColumnName="id" ,IsPrimaryKey = true ,IsIdentity = true  )]
         public string Id { get; set; }
        /// <summary>
        /// 关联用户ID 
        /// 默认值: 0
        ///</summary>
         [SugarColumn(ColumnName="user_id"    )]
         public string UserId { get; set; }
        /// <summary>
        /// 机器人名称 
        /// 默认值: 
        ///</summary>
         [SugarColumn(ColumnName="robot_name"    )]
         public string RobotName { get; set; }
        /// <summary>
        /// 描述信息 
        /// 默认值: 
        ///</summary>
         [SugarColumn(ColumnName="describe"    )]
         public string Describe { get; set; }
        /// <summary>
        /// 机器人logo 
        /// 默认值: 
        ///</summary>
         [SugarColumn(ColumnName="logo"    )]
         public string Logo { get; set; }
        /// <summary>
        /// 可发送消息[0:否;1:是;] 
        /// 默认值: 0
        ///</summary>
         [SugarColumn(ColumnName="is_talk"    )]
         public byte? IsTalk { get; set; }
        /// <summary>
        /// 状态[-1:已删除;0:正常;1:已禁用;] 
        /// 默认值: 0
        ///</summary>
         [SugarColumn(ColumnName="status"    )]
         public string Status { get; set; }
        /// <summary>
        /// 机器人类型 
        /// 默认值: 0
        ///</summary>
         [SugarColumn(ColumnName="type"    )]
         public string Type { get; set; }
        /// <summary>
        /// 创建时间 
        ///</summary>
         [SugarColumn(ColumnName="created_at"    )]
         public DateTime? CreatedAt { get; set; }
        /// <summary>
        /// 更新时间 
        ///</summary>
         [SugarColumn(ColumnName="updated_at"    )]
         public DateTime? UpdatedAt { get; set; }
    }
}
